Release 10.1A: OpenEdge Getting Started:
Installation and Configuration
Starting single-user OpenEdge in batch or background mode
Batch or background processing is convenient for large-scale database updates or procedures that you can run unattended (at night, for example).
To start single-user OpenEdge in batch or background mode, enter the following command:
db-nameSpecifies the database you want to start.
-p procedure-nameSpecifies the procedure to run at startup.
parametersSpecifies the startup parameters you want to use.
output-fileSpecifies the name of the file that receives all output to the default stream.
Redirecting Output
On UNIX you can redirect batch job input and output with the greater than (>) and less than (<) redirection symbols. You can also use the pipe symbol (|) to put a OpenEdge batch run in a command pipeline. See the Batch (
-b) startup parameter in OpenEdge Deployment: Startup Command and Parameter Reference for more information.In the following example, OpenEdge starts in batch or background mode against the sports database and automatically runs the sportsbat startup procedure. In addition, the system directs output (not otherwise directed) with an OUTPUT TO statement to the file named
errlist:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |